package com.ctyon.watchmanager.model.net.entity;

import android.graphics.drawable.Drawable;

import java.io.Serializable;

/**
 * CreateDate：19-7-2 on 下午4:36
 * Describe:
 * Coder: lee
 */
public class Watch implements Serializable {

    private static final long serialVersionUID = 4450899655947576092L;

    private String meid;

    /**
     * 步数
     */
    private long step;

    /**
     * 电量百分数
     */
    private int battery = -1;

    /**
     * 禁用时段json
     */
    private String forbidden;

    /**
     * sos呼叫号码
     */
    private String sos;

    /**
     * 是否拒接陌生来电(1为true)
     */
    private byte isProtct;

    /**
     * 定位模式(1.2.3.4)
     */
    private byte locationType;

    /**
     * 通讯录array
     */
    private String contacts;

    /**
     * 数据上报间隔
     */
    private Long interval = 3L;

    /**
     * 中心号码
     */
    private String centerNumber;

    /**
     * sos开关
     */
    private byte sosConfig;
    /**
     * 低电报警开关
     */
    private byte lowBatConfig;

    /**
     * 面打扰时段
     */
    private String disturb;

    /**
     * 闹钟
     */
    private String alarms;

    /**
     * 提示语
     */
    private String notify;


    /**
     * 计步时间
     */
    private String stepIntervals;

    /**
     * 计步开关
     */
    private byte stepConfig;

    /**
     * 情景模式
     */
    private byte scene;

    /**
     * 语音和时区
     */
    private String language;

    /**
     * ICCID
     */
    private String iccid;

    /**
     * 程序控制
     */
    private String appLock;

    private String nick;


    private String icon;
    private Long updateTime;

    private Drawable drawable;

    private String location;
    private long locationTime;


    public String getAppLock() {
        return appLock;
    }

    public void setAppLock(String appLock) {
        this.appLock = appLock;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public long getLocationTime() {
        return locationTime;
    }

    public void setLocationTime(long locationTime) {
        this.locationTime = locationTime;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public byte getScene() {
        return scene;
    }

    public void setScene(byte scene) {
        this.scene = scene;
    }

    public String getStepIntervals() {
        return stepIntervals;
    }

    public void setStepIntervals(String stepIntervals) {
        this.stepIntervals = stepIntervals;
    }

    public byte getStepConfig() {
        return stepConfig;
    }

    public void setStepConfig(byte stepConfig) {
        this.stepConfig = stepConfig;
    }

    public String getNotify() {
        return notify;
    }

    public void setNotify(String notify) {
        this.notify = notify;
    }

    public String getAlarms() {
        return alarms;
    }

    public void setAlarms(String alarms) {
        this.alarms = alarms;
    }

    public String getDisturb() {
        return disturb;
    }

    public void setDisturb(String disturb) {
        this.disturb = disturb;
    }

    public String getMeid() {
        return meid;
    }

    public void setMeid(String meid) {
        this.meid = meid;
    }

    public long getStep() {
        return step;
    }

    public void setStep(long step) {
        this.step = step;
    }

    public int getBattery() {
        return battery;
    }

    public void setBattery(Integer battery) {
        this.battery = battery;
    }

    public String getForbidden() {
        return forbidden;
    }

    public void setForbidden(String forbidden) {
        this.forbidden = forbidden;
    }

    public String getSos() {
        return sos;
    }

    public void setSos(String sos) {
        this.sos = sos;
    }

    public byte getIsProtct() {
        return isProtct;
    }

    public void setIsProtct(byte isProtct) {
        this.isProtct = isProtct;
    }

    public byte getLocationType() {
        return locationType;
    }

    public void setLocationType(byte locationType) {
        this.locationType = locationType;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Drawable getDrawable() {
        return drawable;
    }

    public void setDrawable(Drawable drawable) {
        this.drawable = drawable;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getInterval() {
        return interval;
    }

    public void setInterval(Long interval) {
        this.interval = interval;
    }

    public String getCenterNumber() {
        return centerNumber;
    }

    public void setCenterNumber(String centerNumber) {
        this.centerNumber = centerNumber;
    }

    public byte getSosConfig() {
        return sosConfig;
    }

    public void setSosConfig(byte sosConfig) {
        this.sosConfig = sosConfig;
    }

    public byte getLowBatConfig() {
        return lowBatConfig;
    }

    public void setLowBatConfig(byte lowBatConfig) {
        this.lowBatConfig = lowBatConfig;
    }

    @Override
    public String toString() {
        return "Watch{" +
                "meid='" + meid + '\'' +
                ", step=" + step +
                ", battery=" + battery +
                ", forbidden='" + forbidden + '\'' +
                ", sos='" + sos + '\'' +
                ", isProtct=" + isProtct +
                ", locationType=" + locationType +
                ", contacts='" + contacts + '\'' +
                ", interval=" + interval +
                ", centerNumber='" + centerNumber + '\'' +
                ", sosConfig=" + sosConfig +
                ", lowBatConfig=" + lowBatConfig +
                ", icon='" + icon + '\'' +
                ", nick='" + nick + '\'' +
                ", updateTime=" + updateTime +
                ", drawable=" + drawable +
                ", disturb=" + disturb +
                ", alarms=" + alarms +
                ", notify=" + notify +
                ", stepIntervals=" + stepIntervals +
                ", stepConfig=" + stepConfig+
                ", language=" + language+
                ", iccid=" + iccid+
                ", location=" + location+
                ", locationTime=" + locationTime +
                ", appLock=" + appLock+
                '}';
    }

}
